package com.dt.app.modules.test.vo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
import com.dt.app.modules.base.entites.PageEntity;
/**
 * <p>
 * 
 * </p>
 *
 * @author 鸿源塔基
 * @since 2023-02-22
 */
@Data
@NoArgsConstructor
@ApiModel(value="HyUser对象", description="")
public class HyUserBean extends PageEntity implements Serializable {

    private static final long serialVersionUID=1253345655L;

    //public HyUserBean(){}

    public HyUserBean(Integer hyUserId, Integer sellersId, Integer regionId, String regionPath, String userNum,
                      Integer countryId, Integer sysCompanyId, Integer tgHyUserId, Integer tgSysUserId,
                      Integer isTg, String loginName, String password, String userName, String telephone,
                      String address, String comName, String email, Integer status, LocalDateTime lastLogingTime,
                      LocalDateTime createTime, LocalDateTime lastJyTime, Integer regFrom, Integer integral,
                      Integer integralCount, Integer gold, Integer level, Integer locked, BigDecimal longitude,
                      BigDecimal latitude, LocalDateTime nearbyTime, String language, LocalDate birthday,
                      Integer sex, String headPortrait, String telVersion, String promoteNum, String wxOpenid,
                      String wxgzhOpenid, String czTels, String unionid, String qmImg, String kpNo, String kpName,
                      Integer createId, String createIdName) {
        this.hyUserId = hyUserId;
        this.sellersId = sellersId;
        this.regionId = regionId;
        this.regionPath = regionPath;
        this.userNum = userNum;
        this.countryId = countryId;
        this.sysCompanyId = sysCompanyId;
        this.tgHyUserId = tgHyUserId;
        this.tgSysUserId = tgSysUserId;
        this.isTg = isTg;
        this.loginName = loginName;
        this.password = password;
        this.userName = userName;
        this.telephone = telephone;
        this.address = address;
        this.comName = comName;
        this.email = email;
        this.status = status;
        this.lastLogingTime = lastLogingTime;
        this.createTime = createTime;
        this.lastJyTime = lastJyTime;
        this.regFrom = regFrom;
        this.integral = integral;
        this.integralCount = integralCount;
        this.gold = gold;
        this.level = level;
        this.locked = locked;
        this.longitude = longitude;
        this.latitude = latitude;
        this.nearbyTime = nearbyTime;
        this.language = language;
        this.birthday = birthday;
        this.sex = sex;
        this.headPortrait = headPortrait;
        this.telVersion = telVersion;
        this.promoteNum = promoteNum;
        this.wxOpenid = wxOpenid;
        this.wxgzhOpenid = wxgzhOpenid;
        this.czTels = czTels;
        this.unionid = unionid;
        this.qmImg = qmImg;
        this.kpNo = kpNo;
        this.kpName = kpName;
        this.createId = createId;
        this.createIdName = createIdName;
    }

    @ApiModelProperty(value = "用户")
    private Integer hyUserId;

    @ApiModelProperty(value = "如果是商家 对应商家id")
    private Integer sellersId;

    @ApiModelProperty(value = "记录区域id")
    private Integer regionId;

    @ApiModelProperty(value = "区域全路径")
    private String regionPath;

    @ApiModelProperty(value = "编码")
    private String userNum;

    @ApiModelProperty(value = "国家区域id")
    private Integer countryId;

    @ApiModelProperty(value = "公司")
    private Integer sysCompanyId;

    @ApiModelProperty(value = "推广会员id")
    private Integer tgHyUserId;

    @ApiModelProperty(value = "推广管理员id 维护员")
    private Integer tgSysUserId;

    @ApiModelProperty(value = "0否 1准备中 2普通推广员 3中级 6高级 8代理商")
    private Integer isTg;

    @ApiModelProperty(value = "登录账号")
    private String loginName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "公司名")
    private String comName;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "1激活 0失效")
    private Integer status;

    @ApiModelProperty(value = "最后登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastLogingTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后交易时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastJyTime;

    @ApiModelProperty(value = "注册来源1pc 2android 3iso")
    private Integer regFrom;

    @ApiModelProperty(value = "积分(剩余积分)")
    private Integer integral;

    @ApiModelProperty(value = "总积分")
    private Integer integralCount;

    @ApiModelProperty(value = "金币")
    private Integer gold;

    @ApiModelProperty(value = "会员等级")
    private Integer level;

    @ApiModelProperty(value = "1锁定 0未锁定 登录超过次数")
    private Integer locked;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "获取经纬度时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime nearbyTime;

    @ApiModelProperty(value = "语言编码")
    private String language;

    @ApiModelProperty(value = "生日")
    private LocalDate birthday;

    @ApiModelProperty(value = "1男 2女 3其他")
    private Integer sex;

    @ApiModelProperty(value = "头像地址")
    private String headPortrait;

    @ApiModelProperty(value = "手机品牌型号")
    private String telVersion;

    @ApiModelProperty(value = "推广员编码 谁推荐我安装的")
    private String promoteNum;

    @ApiModelProperty(value = "微信openid 小程序")
    private String wxOpenid;

    @ApiModelProperty(value = "公众号")
    private String wxgzhOpenid;

    @ApiModelProperty(value = "历史充值号码,号隔开")
    private String czTels;

    @ApiModelProperty(value = "单点登录标识")
    private String unionid;

    @ApiModelProperty(value = "水印签名图片")
    private String qmImg;

    @ApiModelProperty(value = "开票识别码")
    private String kpNo;

    @ApiModelProperty(value = "开票名称")
    private String kpName;

    @ApiModelProperty(value = "创建人")
    private Integer createId;
    private String createIdName;//创建人

}
